package com.eric.ztea.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.eric.ztea.domain.Bill;

public interface BillRepository extends JpaRepository<Bill, Long>{
	
	Bill findById(Long id);
	
	List<Bill> findByUserid(Long userid);
	
	List<Bill> findByEqid(Long eqid);
}
